<% form_tag({:action => "destroy", :id => @document.id}, :class => "ask") do %>

	<p class="actions">
		Tem certeza que deseja deletar o documento <strong class="document"><%= @document.name %></strong>?<br />
		<button type="submit">Deletar</button> 
		<%= link_to "Cancelar", referer_or(project_path(:name => @project.name, :id => @project.id)) %>
	</p>

<% end %>